﻿using GalaSoft.MvvmLight;

namespace KinectCurve.ViewModel
{
    public partial class GameViewModel : ViewModelBase
    {
        public GameViewModel()
        {
            if (IsInDesignMode)
            {
                // Code runs in Blend --> create design time data.
            }
            else
            {
                // Code runs "for real": Connect to service, etc...   
                MessageDefinitions();
            }
        }

        public override void Cleanup()
        {
            // Clean own resources if needed
            base.Cleanup();
        }
    }
}